xend: fix rtc_timeoffset when localtime=1
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 1 Apr 2009 10:47:25 +0000 (11:47 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 1 Apr 2009 10:47:25 +0000 (11:47 +0100)
commit8e558b0e97993b560cc0a199dcbfa8aa6ce464d1
treef22d967b77ecd5df3a80a34f3f87b4aed6f0f129
parent37307651ac01a283059f5bd9c9bfacfc896c617a
xend: fix rtc_timeoffset when localtime=1

The rtc_timeoffset parameter in VM config is ignored when
localtime=1. Also it is not preserved across reboot.

NOTE:
This patch changes the meaning of the xenstore
/vm/<uuid>/rtc/timeoffset
from utc offset to local offset. (it's OK for the ioemu)

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py